package com.mindata.blockchain.block.block;

import com.mindata.blockchain.block.instruction.Instruction;

import java.util.List;

/**
 * 区块body，里面存放交易的数组
 *
 * @author wuweifeng wrote on 2018/2/28.
 */
public class BlockBody {
    private List<Instruction> inter_instructions;
    private List<Instruction> intro_instructions;
    private List<Instruction> instructions;

    public List<Instruction> getInter_instructions() {
        return inter_instructions;
    }

    public void setInter_instructions(List<Instruction> inter_instructions) {
        this.inter_instructions = inter_instructions;
    }

    public List<Instruction> getIntro_instructions() {
        return intro_instructions;
    }

    public void setIntro_instructions(List<Instruction> intro_instructions) {
        this.intro_instructions = intro_instructions;
    }

    public List<Instruction> getInstructions() {
        return instructions;
    }

    public void setInstructions(List<Instruction> instructions) {
        this.instructions = instructions;
    }

    @Override
    public String toString() {
        return "BlockBody{" +
                "inter_instructions=" + inter_instructions +
                ", intro_instructions=" + intro_instructions +
                ", instructions=" + instructions +
                '}';
    }
}
